<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>SimpleRobot: View类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">SimpleRobot
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">简易四轴机器人动画</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="pages.html"><span>相关页面</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
      <li><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="hierarchy.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="class_view-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">View类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>视图类  
 <a href="class_view.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="view_8h_source.html">view.h</a>&gt;</code></p>
<div class="dynheader">
类 View 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_view.png" usemap="#View_map" alt=""/>
  <map id="View_map" name="View_map">
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a23bf47b5e5888e35781307cc7507181f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a23bf47b5e5888e35781307cc7507181f"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_view.html#a23bf47b5e5888e35781307cc7507181f">View</a> (<a class="el" href="class_model.html">Model</a> *model, QWidget *parent=0)</td></tr>
<tr class="memdesc:a23bf47b5e5888e35781307cc7507181f"><td class="mdescLeft">&#160;</td><td class="mdescRight">A construtor. <br /></td></tr>
<tr class="separator:a23bf47b5e5888e35781307cc7507181f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0dc854db9aabbea98a334dec89f785c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad0dc854db9aabbea98a334dec89f785c"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_view.html#ad0dc854db9aabbea98a334dec89f785c">~View</a> ()</td></tr>
<tr class="memdesc:ad0dc854db9aabbea98a334dec89f785c"><td class="mdescLeft">&#160;</td><td class="mdescRight">A destructor. <br /></td></tr>
<tr class="separator:ad0dc854db9aabbea98a334dec89f785c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a647f520f9b348ce40bfcd9cd1969d3b2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_view.html#a647f520f9b348ce40bfcd9cd1969d3b2">rotateView</a> (float thetaX, float thetaY, float thetaZ)</td></tr>
<tr class="memdesc:a647f520f9b348ce40bfcd9cd1969d3b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">旋转视图  <a href="#a647f520f9b348ce40bfcd9cd1969d3b2">更多...</a><br /></td></tr>
<tr class="separator:a647f520f9b348ce40bfcd9cd1969d3b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a30c0d555aa48a2d581238f6e12c500a1"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a30c0d555aa48a2d581238f6e12c500a1"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>initializeGL</b> () Q_DECL_OVERRIDE</td></tr>
<tr class="separator:a30c0d555aa48a2d581238f6e12c500a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2c68923c2b1775a38529ba49f99877d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af2c68923c2b1775a38529ba49f99877d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>resizeGL</b> (int width, int height) Q_DECL_OVERRIDE</td></tr>
<tr class="separator:af2c68923c2b1775a38529ba49f99877d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4054f0018a33be8db2a2d048e8e79e14"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4054f0018a33be8db2a2d048e8e79e14"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>paintGL</b> () Q_DECL_OVERRIDE</td></tr>
<tr class="separator:a4054f0018a33be8db2a2d048e8e79e14"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ec6a49f56472d12f37c4a2fccc62392"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1ec6a49f56472d12f37c4a2fccc62392"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>initVBO</b> (QOpenGLBuffer &amp;vbo, const QVector&lt; GLfloat &gt; &amp;data)</td></tr>
<tr class="separator:a1ec6a49f56472d12f37c4a2fccc62392"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a918d2a4cd065811dfc7e4e513a1cc3b9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a918d2a4cd065811dfc7e4e513a1cc3b9"></a>
QMatrix4x4&#160;</td><td class="memItemRight" valign="bottom"><b>paintBase</b> (QMatrix4x4 &amp;mvMatrix)</td></tr>
<tr class="separator:a918d2a4cd065811dfc7e4e513a1cc3b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaac6dd800eb6b65b9c87260c38633708"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaac6dd800eb6b65b9c87260c38633708"></a>
QMatrix4x4&#160;</td><td class="memItemRight" valign="bottom"><b>paintMaster</b> (QMatrix4x4 &amp;mvMatrix)</td></tr>
<tr class="separator:aaac6dd800eb6b65b9c87260c38633708"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd84d7f155e50a5d4e628f2726053ad3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acd84d7f155e50a5d4e628f2726053ad3"></a>
QMatrix4x4&#160;</td><td class="memItemRight" valign="bottom"><b>paintAssistant</b> (QMatrix4x4 &amp;mvMatrix)</td></tr>
<tr class="separator:acd84d7f155e50a5d4e628f2726053ad3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab6483d3456cd0b1b49b35012dca4c10d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab6483d3456cd0b1b49b35012dca4c10d"></a>
QMatrix4x4&#160;</td><td class="memItemRight" valign="bottom"><b>paintBar</b> (QMatrix4x4 &amp;mvMatrix)</td></tr>
<tr class="separator:ab6483d3456cd0b1b49b35012dca4c10d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>视图类 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a class="anchor" id="a647f520f9b348ce40bfcd9cd1969d3b2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void View::rotateView </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>thetaX</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>thetaY</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>thetaZ</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>旋转视图 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">thetaX</td><td>绕x轴角度 </td></tr>
    <tr><td class="paramname">thetaY</td><td>绕y轴角度 </td></tr>
    <tr><td class="paramname">thetaZ</td><td>绕z轴角度 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li><a class="el" href="view_8h_source.html">view.h</a></li>
<li>view.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2015年 四月 11日 星期六 16:06:06 , 为 SimpleRobot使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
